package com.sinya.shoppingmall.utils;

import java.sql.Date;
import java.text.SimpleDateFormat;

public class DateUtils {

	public static String transferLongToDate(String dateFormat, Long millSec) {
		SimpleDateFormat sdf = new SimpleDateFormat(dateFormat);
		Date date = new Date(millSec);
		return sdf.format(date);
	}
}
